home *** CD-ROM | disk | FTP | other *** search
-
-
- 12:57:40 5/8/1987
-
- The routines contained in mylib.asm are routines that I
- use with Microsoft QuickBasic that allow me to do some things very
- quickly that basic does not support very well. The routines included
- are:
- SCRSAVE Copies to or from display memory.
- VIDEO Invokes Int 10 video functions.
- BIOS Invokes Int 21 system functions.
- HOLD Waits for keyin and clears buffer.
-
- To call SCRSAVE use this technique:
-
- Inbuff$ = space$(4000)
- Call Scrsave(inbuff$,0) to copy display memory to inbuff$.
- Call Scrsave(inbuff$,1) to copy inbuff$ to display memory.
-
- The other routines would use this technique:
-
- defint a,b,c,d
- ah = 9: al = 49
- bh = 0: bl = 7
- cx = 2000
- call video(cx,dx,ax,bx)
- end
- This would result in your display screen being filled with 1's
- which is ascii 49 with a color of 7.
-
- The BIOS subroutine works the same way. At this time the registers
- are not returned.
-